package com.bp.hearthealth.pulse.lnapps.ads.model

import com.bp.hearthealth.pulse.lnapps.BpApplication
import com.bp.hearthealth.pulse.lnapps.ads.admob.interstitial_ad.AdMobInterstitialAdManager
import com.bp.hearthealth.pulse.lnapps.ads.admob.native_ad.AdMobNativeAdManager
import com.bp.hearthealth.pulse.lnapps.bp_utils.Constants

/**
 * 预加载广告
 */
object PreloadAds {
    fun loadAds(vararg openAd: Boolean) {
//        if (openAd.isNotEmpty() && AdsSwitch.getBoolean(AdsSwitch.adOpenControl)) {
//            //开屏广告
//            BpApplication.adMobOpenAdManager?.loadAd(BpApplication.context)
//        }
//        //插页广告
//        AdMobInterstitialAdManager.loadInterstitialAd(Constants.Interstitial)
//        //原生广告
//        AdMobNativeAdManager.loadNativeAds(mutableListOf(Constants.Native_Advanced))
//        //激励广告
////        AdMobRewardedAdManager.loadRewardedAd(Constants.Rewarded)
    }
}